package com.smartcruise.util.network.baseApi;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Url;

/**
 * Created by FengChaoQun
 * on 2018/2/2
 * 通用的post接口
 */

public interface NormalPostAPI {
    @FormUrlEncoded
    @POST
    Observable<ResponseBody> post(@Url String path, @FieldMap Map<String, Object> data);
}
